From: Jasper St. Pierre Date: Sun, 3 Aug 2014 19:28:04 +0000 (-0400) Subject: windowManager: Fix destroy animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2286 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=72a663f5541e94767a701f03c073f265702e0db5;p=gnome-shell.git windowManager: Fix destroy animation Guess who didn't test his destroy animation that he pushed without any review!!! It wasn't me! --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index d77160e39..da4d780bb 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1175,10 +1175,10 @@ const WindowManager = new Lang.Class({ scale_y: 0.8, time: DESTROY_WINDOW_ANIMATION_TIME, transition: 'easeOutQuad', - onComplete: this._mapWindowDone, + onComplete: this._destroyWindowDone, onCompleteScope: this, onCompleteParams: [shellwm, actor], - onOverwrite: this._mapWindowOverwrite, + onOverwrite: this._destroyWindowDone, onOverwriteScope: this, onOverwriteParams: [shellwm, actor] }); @@ -1201,7 +1201,7 @@ const WindowManager = new Lang.Class({ { scale_y: 0, time: DIALOG_DESTROY_WINDOW_ANIMATION_TIME, transition: 'easeOutQuad', - onComplete: this._destoyWindowDone, + onComplete: this._destroyWindowDone, onCompleteScope: this, onCompleteParams: [shellwm, actor], onOverwrite: this._destroyWindowDone,